package com.xkdx.guangguang.fragment.newsinfo;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;

public class NewsAction extends AbsAction {
	String InfoID;

	public NewsAction(String InfoID) {
		this.InfoID = InfoID;
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("DeviceID", "2");
		map.put("InfoID", InfoID);
		String json = constructJson(map);
		Parameter parameter = new Parameter("informationInterface", "getInfoDetail", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}

}
